<template>
  <div class="soubg">
    <div class="sou">
      <span class="fr">
        <span class="fl">你好，请<a href="#" @click="toLogin">登录</a>&nbsp; <a href="#" @click="toRegist"
            style="color:#ff4e00;">免费注册</a>&nbsp; </span>
        <span class="fl">|&nbsp;关注我们：</span>
        <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
        <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="images/s_tel.png" align="absmiddle" /></a></span>
      </span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'LoginHeader',
  methods: {
    toLogin() {
      this.$router.push('/login')
    },
    toRegist() {
      this.$router.push('/regist')
    }
  },
}

</script>

<style></style>